package com.tccmeta.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author pan
 * data字段存放实体数据
 * @date 2021/5/13 13:24
 */
@Data
@Builder
@TableName("meta")
public class Meta implements Serializable {
    @TableId(type = IdType.NONE)
    private Long id;
    private Object data;
    private Long oneDimensional;
    private String alias;
    private String type;

    @TableField(exist = false)
    String expression;
    @TableField(exist = false)
    List<Meta> relations;

}
